<?php
//权限
return [
    //模块id  10  100  200 300 递增
    [
        "id" => 800, "pid" => 0, 'title' => '商品管理', 'childs' => [
            //sku生命周期
             ["id" => 801, "pid" => 800, 'title' => 'sku生命周期查看/导出', 'url' => 'index/Produce/getList']
            ,["id" => 802, "pid" => 800, 'title' => 'sku生命周期新增', 'url' => 'index/Produce/add']
            ,["id" => 803, "pid" => 800, 'title' => 'sku生命周期编辑', 'url' => 'index/Produce/edit']
            ,["id" => 804, "pid" => 800, 'title' => 'sku生命周期批量编辑', 'url' => 'index/Produce/batchOperator']
            ,["id" => 805, "pid" => 800, 'title' => 'sku生命周期禁用/启用', 'url' => 'index/Produce/disableOrEnable']
            
            //国家SKU状态
            ,["id" => 806, "pid" => 800, 'title' => '国家SKU状态查看/导出', 'url' => 'index/Countrysku/getList']
            ,["id" => 807, "pid" => 800, 'title' => '国家SKU状态新增', 'url' => 'index/Countrysku/add']
            ,["id" => 808, "pid" => 800, 'title' => '国家SKU状态编辑', 'url' => 'index/Countrysku/edit']
            ,["id" => 809, "pid" => 800, 'title' => '国家SKU状态批量编辑', 'url' => 'index/Countrysku/batchOperator']
            ,["id" => 810, "pid" => 800, 'title' => '国家SKU状态禁用/启用', 'url' => 'index/Countrysku/disableOrEnable']
            
             //店铺SKU状态查看
            ,["id" => 811, "pid" => 800, 'title' => '店铺SKU状态查看/导出', 'url' => 'index/Storesku/getList']
            ,["id" => 812, "pid" => 800, 'title' => '店铺SKU状态新增', 'url' => 'index/Storesku/add']
            ,["id" => 813, "pid" => 800, 'title' => '店铺SKU状态编辑', 'url' => 'index/Storesku/edit']
            ,["id" => 814, "pid" => 800, 'title' => '店铺SKU状态批量编辑', 'url' => 'index/Storesku/batchOperator']
            ,["id" => 815, "pid" => 800, 'title' => '店铺SKU状态禁用/启用', 'url' => 'index/Storesku/disableOrEnable']
         ]
    ]

    , [
        "id" => 700, "pid" => 0, 'title' => '计划管理', 'childs' => [
            ["id" => 701, "pid" => 700, 'title' => '发运计划查看', 'url' => 'index/Ship/index']
            ,["id" => 702, "pid" => 700, 'title' => '发运计划新增和编辑', 'url' => 'index/Ship/create']

            ,["id" => 703, "pid" => 700, 'title' => '采购计划列表/查询', 'url' => 'index/Purchaseplan/getPurchaseplanList']
            ,["id" => 704, "pid" => 700, 'title' => '采购计划编辑', 'url' => 'index/Purchaseplan/edit']
            ,["id" => 705, "pid" => 700, 'title' => '采购计划导入', 'url' => 'index/Purchaseplan/upload']
            ,["id" => 706, "pid" => 700, 'title' => '采购计划导出', 'url' => 'index/Purchaseplan/export']
            ,["id" => 707, "pid" => 700, 'title' => '采购计划批量确定/确定', 'url' => 'index/Purchaseplan/createPrPushNewErp']
            ,["id" => 708, "pid" => 700, 'title' => '采购计划删除', 'url' => 'index/Purchaseplan/del']

            ,["id" => 709, "pid" => 700, 'title' => '提货计划列表/查询', 'url' => 'index/Drawplan/getDrawplanList']
            ,["id" => 710, "pid" => 700, 'title' => '提货计划编辑', 'url' => 'index/Drawplan/edit']
            ,["id" => 711, "pid" => 700, 'title' => '提货计划导入', 'url' => 'index/Drawplan/upload']
            ,["id" => 712, "pid" => 700, 'title' => '提货计划导出', 'url' => 'index/Drawplan/export']
            ,["id" => 713, "pid" => 700, 'title' => '提货计划批量确定/确定', 'url' => 'index/Drawplan/sureDrawplan']
            
            ,["id" => 714, "pid" => 700, 'title' => '配送计划列表/导出', 'url' => 'index/Distribution/index']
            ,["id" => 716, "pid" => 700, 'title' => '配送计划导入', 'url' => 'index/Distribution/upload']
            ,["id" => 715, "pid" => 700, 'title' => '配送计划编辑/添加', 'url' => 'index/Distribution/create']
            ,["id" => 717, "pid" => 700, 'title' => '配送计划详情', 'url' => 'index/Distribution/detail']
            ,["id" => 718, "pid" => 700, 'title' => '配送计划审核', 'url' => 'index/Distribution/audithandle']
        ]
    ]

    , [
        "id" => 600, "pid" => 0, 'title' => '国家仓管理', 'childs' => [
            ["id" => 603, "pid" => 600, 'title' => '国家仓库存查看/导出', 'url' => 'index/Warehousecountry/stock']
            ,["id" => 604, "pid" => 600, 'title' => '国家仓入库查看/导出', 'url' => 'index/Warehousecountry/input']
            ,["id" => 605, "pid" => 600, 'title' => '国家仓入库编辑', 'url' => 'index/Warehousecountry/inputEdit']
            ,["id" => 606, "pid" => 600, 'title' => '国家仓出库查看/导出', 'url' => 'index/Warehousecountry/out']
            ,["id" => 607, "pid" => 600, 'title' => '国家仓预占查看/导出', 'url' => 'index/Warehousecountry/advance']
            ,["id" => 608, "pid" => 600, 'title' => '国家仓成本查看/导出', 'url' => 'index/Warehousecountry/cost']

            ,["id" => 601, "pid" => 600, 'title' => '国家仓在途明细列表/导出', 'url' => 'index/Countryonway/getList']
            ,["id" => 602, "pid" => 600, 'title' => '国家仓在途明细确认/批量确认', 'url' => 'index/Countryonway/batchConfirm']
        ]
    ]

    , [
        "id" => 500, "pid" => 0, 'title' => '店铺管理', 'childs' => [
            ["id" => 501, "pid" => 500, 'title' => '店仓入库管理列表/查询', 'url' => 'index/Shopwarehousein/getList']
            ,["id" => 502, "pid" => 500, 'title' => '店仓入库管理编辑/详情', 'url' => 'index/Shopwarehousein/edit']
            ,["id" => 503, "pid" => 500, 'title' => '店仓入库管理导出', 'url' => 'index/Shopwarehousein/export']

            ,["id" => 504, "pid" => 500, 'title' => '店仓出库管理列表/查询', 'url' => 'index/Shopwarehouseout/getList']
            ,["id" => 505, "pid" => 500, 'title' => '店仓出库管理编辑/确定', 'url' => 'index/Shopwarehouseout/edit']
            ,["id" => 506, "pid" => 500, 'title' => '店仓出库管理导出', 'url' => 'index/Shopwarehouseout/export']

            ,["id" => 507, "pid" => 500, 'title' => '店仓成本管理列表/查询', 'url' => 'index/Shopwarehousecost/getList']
            ,["id" => 508, "pid" => 500, 'title' => '店仓成本管理编辑/详情', 'url' => 'index/Shopwarehousecost/edit']
            ,["id" => 509, "pid" => 500, 'title' => '店仓成本管理导出', 'url' => 'index/Shopwarehousecost/export']

            ,["id" => 510, "pid" => 500, 'title' => '店仓库存管理列表/查询', 'url' => 'index/Shopwarehousestock/getList']
            ,["id" => 511, "pid" => 500, 'title' => '店仓库存管理导出', 'url' => 'index/Shopwarehousestock/export']
            
            ,["id" => 512, "pid" => 500, 'title' => '店仓在途明细列表/导出', 'url' => 'index/Shoponstock/getList']
            ,["id" => 513, "pid" => 500, 'title' => '店仓在途明细确认/批量确认', 'url' => 'index/Shoponstock/batchConfirm']
        ]
    ]
    , [
        "id" => 450, "pid" => 0, 'title' => '主体采购管理', 'childs' => [
            ["id" => 451, "pid" => 450, 'title' => '主体采购查看', 'url' => 'index/Purchasemanage/index']
            ,["id" => 452, "pid" => 450, 'title' => '主体采购新增', 'url' => 'index/Purchasemanage/create']
        ]
    ]
    , [
        "id" => 400, "pid" => 0, 'title' => '销项管理', 'childs' => [
            ["id" => 401, "pid" => 400, 'title' => '销项查看/导出', 'url' => 'index/Sell/index']
        ]
    ]

    , [
        "id" => 300, "pid" => 0, 'title' => '调拨管理', 'childs' => [
            ["id" => 301, "pid" => 300, 'title' => '调拨单列表/查询', 'url' => 'index/Allocateorder/getList']
            ,["id" => 302, "pid" => 300, 'title' => '调拨单编辑/新增', 'url' => 'index/Allocateorder/edit']
            ,["id" => 303, "pid" => 300, 'title' => '调拨单导出', 'url' => 'index/Allocateorder/export']
        ]
    ]

    , [
        "id" => 200, "pid" => 0, 'title' => '盘点管理', 'childs' => [

        ]
    ]

    , [
        "id" => 100, "pid" => 0, 'title' => '报表管理', 'childs' => [
             ["id" => 101, "pid" => 100, 'title' => '店铺sku销量报表', 'url' => 'index/Saleoreport/getStoreSkuList']
            , ["id" => 102, "pid" => 100, 'title' => '国家sku销量报表', 'url' => 'index/Saleoreport/getCountrySkuList']
            , ["id" => 103, "pid" => 100, 'title' => 'sku销量报表', 'url' => 'index/Saleoreport/getSkuSaleList']
            , ["id" => 104, "pid" => 100, 'title' => '配送计划跟进表', 'url' => 'index/Deliveryfollow/getList']
            , ["id" => 105, "pid" => 100, 'title' => '采购计划跟进表', 'url' => 'index/Purchaseplanfollow/getList']

            , ["id" => 106, "pid" => 100, 'title' => 'PO提货明细列表/查询', 'url' => 'index/Drawpodetail/getList']
            , ["id" => 107, "pid" => 100, 'title' => 'PO提货明细列表导出', 'url' => 'index/Drawpodetail/export']

            , ["id" => 108, "pid" => 100, 'title' => '店铺销售库存分析列表/查询', 'url' => 'index/Shopsalestock/getList']
            , ["id" => 109, "pid" => 100, 'title' => '店铺销售库存分析列表/更新数据', 'url' => 'tasks/Purchaseplan/updateShopSaleStockData']
            , ["id" => 110, "pid" => 100, 'title' => '店铺销售库存分析列表导出', 'url' => 'index/Shopsalestock/export']

            , ["id" => 111, "pid" => 100, 'title' => '发运计划跟进列表/查询', 'url' => 'index/Shipplanfollow/getList']
            , ["id" => 112, "pid" => 100, 'title' => '发运计划跟进列表导出', 'url' => 'index/Shipplanfollow/export']
        ]
    ]

    , [
        "id" => 10, "pid" => 0, 'title' => '基础设置', 'childs' => [
            ["id" => 11, "pid" => 10, 'title' => '用户设置查看', 'url' => 'index/user/getList']
            , ["id" => 12, "pid" => 10, 'title' => '用户设置编辑', 'url' => 'index/user/edit']
            , ["id" => 15, "pid" => 10, 'title' => '用户启用禁用', 'url' => 'index/user/disableOrEnable']
            , ["id" => 13, "pid" => 10, 'title' => '汇率查看', 'url' => 'index/exchange/getList']
            , ["id" => 14, "pid" => 10, 'title' => '汇率更新', 'url' => 'index/exchange/getExchangeByApi']

            , ["id" => 16, "pid" => 10, 'title' => '公司列表/查询', 'url' => 'index/Company/getCompanyList']
            , ["id" => 17, "pid" => 10, 'title' => '公司新增/编辑', 'url' => 'index/Company/edit']
            , ["id" => 18, "pid" => 10, 'title' => '公司启用/禁用', 'url' => 'index/Company/disableOrEnable']

            , ["id" => 19, "pid" => 10, 'title' => '店铺列表/查询', 'url' => 'index/Shop/getShopList']
            , ["id" => 20, "pid" => 10, 'title' => '店铺新增/编辑', 'url' => 'index/Shop/edit']
            , ["id" => 21, "pid" => 10, 'title' => '店铺启用/禁用', 'url' => 'index/Shop/disableOrEnable']
            , ["id" => 22, "pid" => 10, 'title' => '店铺获取币种信息', 'url' => 'index/Shop/getCurrency']

            , ["id" => 23, "pid" => 10, 'title' => '仓库列表/查询', 'url' => 'index/Warehouse/getWarehouseList']
            , ["id" => 24, "pid" => 10, 'title' => '仓库新增/编辑', 'url' => 'index/Warehouse/edit']
            , ["id" => 25, "pid" => 10, 'title' => '仓库启用/禁用', 'url' => 'index/Warehouse/disableOrEnable']
            , ["id" => 26, "pid" => 10, 'title' => '仓库获取部分公司', 'url' => 'index/Warehouse/getShopCompanys']
        ]
    ]
];
